<% @i=0 %>
<div class="content">
<%=render :partial=>"breadcrumb"%>
<% while @i < @albums.size do %>
<!--previous style style="width:130px; margin: 0 0px 30px 0; float:left;text-align:center" changed to id="album" -->
 <div class="album">
  <% if @photos1[@i]!=nil %>
      <% image = image_tag(@photos1[@i].to_url(:thumbnail), :id=>"photo_#{@photos1[@i].id}", :title=>@albums[@i].title) %>
        <%= link_to image, :action=>"show_scetch", :id=>@albums[@i]%>
      <% else %>
        <%= link_to(image_tag("/stylesheets/"+get_scheme+"/images/noimage"), :action=>"show_scetch", :id=>@albums[@i]) %>
    <% end %>
  <%= link_to "#{ @albums[@i].title}", :controller=>"view" ,:action=>"show_scetch", :id=>@albums[@i] %>
<% @i+=1 %>
</div>
<% end %>

</div>




